﻿using PropertyChanged;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindows.Models.Devices
{
    public class RJ6902CAGXParametersModel: INotifyPropertyChanged
    {

        [Description("编号")] public ushort Code { get; set; } = 9999;
        [Description("电压")] public ushort Voltage { get; set; }
        [Description("TK时间")] public ushort TKTime { get; set; }
        [Description("TF时间")] public ushort TFTime { get; set; }
        [Description("VD1")] public double VD1 { get; set; }
        [Description("VD2")] public double VD2 { get; set; }
        [Description("VD3")] public double VD3 { get; set; }
        [Description("TL")] public double TL { get; set; }
        [Description("TH")] public double TH { get; set; }
        [Description("RT")] public double RT { get; set; }
        /// <summary>
        /// 电阻下限
        /// </summary>
        [Description("电阻下限")] public ushort RLower { get; set; }
        /// <summary>
        /// 电容下限
        /// </summary>
        [Description("电容下限")] public ushort CapacitanceLower { get; set; }
        /// <summary>
        /// 电容上限
        /// </summary>
        [Description("电容上限")] public ushort CapacitanceUpper { get; set; }
       // [Description("工艺名称")] public string Name { get; set; }
        [DoNotNotify]
        public string UpdateName { get; set; }
        public DateTime UpdateTime { get; set; }      
        [DoNotNotify]
        public bool IsBeingUsed { get; set; }

        public event PropertyChangedEventHandler? PropertyChanged;
    }
}
